/**
 * @fileOverview 浏览器事件相关
 * @author goodzsq@gmail.com
 */

var event = {};

event.cancelBubble = function(e) {
    if (e && e.stopPropagation) {
        e.stopPropagation();
    }
    else {
        window.event.cancelBubble = true;
    }
};

module.exports = event;